<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="" method="post" enctype="multipart/form-data"></form>
    <p>需要上传文件时 这个表单的enctype属性要设置为multipart/form-data 其他不用改</p>
    <form action="" method="get" enctype="application/x-www-form-urlencoded"></form>

    <p>同步提交问题</p>
    <p>让表单只负责采集数据 ，让Ajax去提交数据</p>
</body>

</html>